package com.park.manage.controller;

import com.park.controller.BaseController;
import com.park.entity.manage.ParkAdminInfo;
import com.park.manage.service.manage.MerManageLoginService;
import com.park.response.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 * @title: MerManageLoginController
 * @projectName park
 * @description: 商家管理段 登录
 * @date 2020/5/419:39
 */
@RestController
@RequestMapping(value = "/wx/manage")
public class MerManageLoginController extends BaseController {

    @Autowired
    private MerManageLoginService merManageLoginService;

    /**
     　　* @description:
     　　* @param []
     　　* @return {@link Result}
     　　* @throws
     　　* @author ZhangHaiWen
     　　* @version 2.0
     　　* @date 2020/5/4 20:00
     　　*/
    @RequestMapping(value = "/login")
    public Result login(@RequestBody ParkAdminInfo parkAdminInfo){
        merManageLoginService.login(parkAdminInfo);
        return SUCCESS();
    }



}
